package com.example.dell.fastshopping.DuoBao.entity;

/**
 * Created by ${YSH} on 2019/5/8.
 * 描述        ${TODO}
 * <p>
 * 更新者       $author$
 * 更新时间     $Data$
 * 描述         ${TODO}
 */
public class RoundResult {
    private int status;//: 1,				---status - 1: 进行中 2: 即将开始  3: 已结束
    private int roundId;//: 26,				---下一轮次id
    private int round;//: 2,1					---下轮次,第几轮
    private int serverTime1;//: 1555727437948	---服务器时间戳

    public void setStatus(int status) {
        this.status = status;
    }

    public void setRoundId(int roundId) {
        this.roundId = roundId;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public void setServerTime1(int serverTime1) {
        this.serverTime1 = serverTime1;
    }

    public int getStatus() {
        return status;
    }

    public int getRoundId() {
        return roundId;
    }

    public int getRound() {
        return round;
    }

    public int getServerTime1() {
        return serverTime1;
    }

    public String getStatusString() {
            String s  = "";
            switch (status){
                case 1:
                    s = "进行中";
                    break;
                case 2:
                    s="即将开始";
                    break;
                case 3:
                    s="已结束";
                    break;
            }
            return s;
    }
}
